<?php
require_once 'animation.class.php';

$imPath = "D:\\ImageMagick";
$srcListPath = "pngfilelist.csv";
$bgListPath = "bglist.csv";
$fgListPath = "fglist.csv";
$outputPath = dirname(__FILE__);
$outputPath = $outputPath.DS."output";

$test = new Animation($imPath, $outputPath);
$test->src = $test->readListFile($srcListPath);
//first line is header, will not read to data
$test->bg = $test->readListFile($bgListPath, TRUE);
$test->fg = $test->readListFile($fgListPath);
$test->logo = "bgs/logo.png";
$test->sidebar = "bgs/sidebar.png";
$test->setSize(1024);
$test->makeAniGifWmv();
?>
